package me.helllp.dake.generator.utils;

import org.dom4j.Document;
import org.dom4j.Element;

public class MapperXmlUtil {

    public static void addMethod(Document document) {
        Element element = document.getRootElement();
        Element select = element.addElement("select");
        select.addAttribute("id", "selectById");
        select.addAttribute("resultType", "me.helllp.dake.core.bean.DakeAuthAccount");
        select.setText("select * from table");
        System.out.println(document.toString());
    }
}
